import json

from config import BASE_PATH


def read_json(filename):
    with open(filename,"r",encoding="utf8") as f:
        json_data = json.load(f)
        list_data = []
        for dict_data in json_data:
            val = dict_data.values()
            tmp = tuple(val)
            list_data.append(tmp)
        return list_data

if __name__ == '__main__':
    filename = BASE_PATH + "/data/login_data.json"
    res = read_json(filename)
    print(res)